<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id 角色编号
 * @property string $name 角色名称
 * @property string $description 角色介绍
 * @property int $add_time 添加时间
 * @property int $locked 是否锁定
 */
class AdminRole extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'admin_role';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'name', 'description', 'add_time', 'locked'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'add_time' => 'integer', 'locked' => 'integer'];
}
